//
//  TwoCell.h
//  JinChengYun
//
//  Created by 金橙云 on 2017/4/12.
//  Copyright © 2017年 金橙云. All rights reserved.
//

#import <UIKit/UIKit.h>
//model
#import "KeOneModel.h"

@protocol UTableViewCellDetegate <NSObject>

-(void)didWithSegmented:(UISegmentedControl *)segmented;

@end


#import "ZFChart.h"
@interface TwoCell : UITableViewCell<ZFGenericChartDataSource,ZFLineChartDelegate>

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier segArray:(NSArray *)segArr dataModel:(KeOneModel *)dataModel countArr:(NSMutableArray *)countArr nameArr:(NSMutableArray *)nameArr;

@property (nonatomic,weak) id<UTableViewCellDetegate> detegate;
@property (nonatomic,strong)  UISegmentedControl *segmented;

@property (nonatomic, strong) ZFLineChart * lineChart;

@property (nonatomic,strong) KeOneModel *dataModel;

@property (nonatomic, assign) CGFloat height;

@property(nonatomic,strong)UILabel *orageLab;

@property (nonatomic,strong)  NSMutableArray *ContArr;
@property (nonatomic,strong)  NSMutableArray *nameArr;
//zhou
@property (nonatomic,strong)  NSMutableArray *dataArr;






@end
